<?php
	$this->load->view('includes/header');
	
	if (isset($this->session->userdata['idtype']))
	{
		$this->load->view('includes/member-top');
	}
	else
	{
		$this->load->view('includes/portal-top');
	}
	
	$this->load->view($main_content);
	
	if (isset($this->session->userdata['idtype']))
	{
		$this->load->view('includes/member-base');
	}
	else
	{
		$this->load->view('includes/portal-base');
	}
	
	$this->load->view('includes/footer');
?>